﻿namespace QLTV.Forms.KhaiBao
{
    partial class frmContractList
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmContractList));
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition2 = new DevExpress.XtraGrid.StyleFormatCondition();
            DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition3 = new DevExpress.XtraGrid.StyleFormatCondition();
            this.status = new DevExpress.XtraGrid.Columns.GridColumn();
            this.left = new DevExpress.XtraGrid.Columns.GridColumn();
            this.toolbar_image = new DevExpress.Utils.ImageCollection(this.components);
            this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
            this.bar1 = new DevExpress.XtraBars.Bar();
            this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem();
            this.barIn = new DevExpress.XtraBars.BarButtonItem();
            this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem();
            this.barEditItem1 = new DevExpress.XtraBars.BarEditItem();
            this.radStatus = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
            this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
            this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
            this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
            this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
            this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
            this.gridContract = new DevExpress.XtraGrid.GridControl();
            this.tblContractBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.dsContract = new QLTV.Database.dsContract();
            this.viewContract = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colnContractId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colnCrewId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colnEmployerId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lookupEmployer = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.tblEmployerBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.colnVesselId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lookupVessel = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.tblVesselBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.dsVessel = new QLTV.Database.dsVessel();
            this.colfPeriodOfEmployement = new DevExpress.XtraGrid.Columns.GridColumn();
            this.coldContractDate = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colHo = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lookupHo = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.tblCrewBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.dsCrew = new QLTV.Database.dsCrew();
            this.colTenDem = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lookupDem = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.colTen = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lookupTen = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
            this.rankcol = new DevExpress.XtraGrid.Columns.GridColumn();
            this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
            this.tblCrewTableAdapter = new QLTV.Database.dsCrewTableAdapters.tblCrewTableAdapter();
            this.tblVesselTableAdapter = new QLTV.Database.dsVesselTableAdapters.tblVesselTableAdapter();
            this.colDem = new DevExpress.XtraGrid.Columns.GridColumn();
            this.tblContractTableAdapter1 = new QLTV.Database.dsContractTableAdapters.tblContractTableAdapter();
            this.tblEmployerTableAdapter = new QLTV.Database.dsContractTableAdapters.tblEmployerTableAdapter();
            this.tadContractlist = new QLTV.Database.dsContractTableAdapters.tadContractlist();
            ((System.ComponentModel.ISupportInitialize)(this.toolbar_image)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radStatus)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
            this.layoutControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridContract)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblContractBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsContract)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.viewContract)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupEmployer)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblEmployerBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupVessel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblVesselBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsVessel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupHo)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblCrewBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsCrew)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupDem)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupTen)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
            this.SuspendLayout();
            // 
            // status
            // 
            this.status.Caption = "Trạng thái";
            this.status.FieldName = "cStatus";
            this.status.Name = "status";
            this.status.Visible = true;
            this.status.VisibleIndex = 10;
            this.status.Width = 100;
            // 
            // left
            // 
            this.left.AppearanceCell.Options.UseTextOptions = true;
            this.left.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.left.AppearanceHeader.Options.UseTextOptions = true;
            this.left.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.left.Caption = "Còn lại";
            this.left.DisplayFormat.FormatString = "{0} tháng";
            this.left.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.left.FieldName = "gridColumn1";
            this.left.Name = "left";
            this.left.UnboundExpression = "[PeriodOfEmployment] - DateDiffMonth([dContractDate],Today() )";
            this.left.UnboundType = DevExpress.Data.UnboundColumnType.Integer;
            this.left.Visible = true;
            this.left.VisibleIndex = 9;
            // 
            // toolbar_image
            // 
            this.toolbar_image.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("toolbar_image.ImageStream")));
            this.toolbar_image.Images.SetKeyName(0, "pencil_16.png");
            this.toolbar_image.Images.SetKeyName(1, "plus_16.png");
            this.toolbar_image.Images.SetKeyName(2, "print_16.png");
            this.toolbar_image.Images.SetKeyName(3, "user_16.png");
            this.toolbar_image.Images.SetKeyName(4, "delete_16.png");
            this.toolbar_image.Images.SetKeyName(5, "save_16.png");
            this.toolbar_image.Images.SetKeyName(6, "tick_16.png");
            this.toolbar_image.Images.SetKeyName(7, "DSC_2979.jpg");
            this.toolbar_image.Images.SetKeyName(8, "users_business_32.png");
            this.toolbar_image.Images.SetKeyName(9, "user_business_chart_32.png");
            this.toolbar_image.Images.SetKeyName(10, "user_business_close_32.png");
            // 
            // barManager1
            // 
            this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
            this.bar1});
            this.barManager1.DockControls.Add(this.barDockControlTop);
            this.barManager1.DockControls.Add(this.barDockControlBottom);
            this.barManager1.DockControls.Add(this.barDockControlLeft);
            this.barManager1.DockControls.Add(this.barDockControlRight);
            this.barManager1.Form = this;
            this.barManager1.Images = this.toolbar_image;
            this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
            this.barButtonItem1,
            this.barButtonItem2,
            this.barButtonItem3,
            this.barIn,
            this.barEditItem1,
            this.barButtonItem4});
            this.barManager1.MaxItemId = 6;
            this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.radStatus});
            // 
            // bar1
            // 
            this.bar1.BarName = "Tools";
            this.bar1.DockCol = 0;
            this.bar1.DockRow = 0;
            this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
            this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem4, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem2, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barIn, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem3, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
            new DevExpress.XtraBars.LinkPersistInfo(this.barEditItem1)});
            this.bar1.Text = "Tools";
            // 
            // barButtonItem4
            // 
            this.barButtonItem4.Caption = "Thêm mới";
            this.barButtonItem4.Id = 5;
            this.barButtonItem4.ImageIndex = 1;
            this.barButtonItem4.Name = "barButtonItem4";
            this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick);
            // 
            // barButtonItem2
            // 
            this.barButtonItem2.Caption = "Chỉnh sửa";
            this.barButtonItem2.Id = 1;
            this.barButtonItem2.ImageIndex = 0;
            this.barButtonItem2.Name = "barButtonItem2";
            this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick);
            // 
            // barIn
            // 
            this.barIn.Caption = "In hợp đồng";
            this.barIn.Id = 3;
            this.barIn.ImageIndex = 2;
            this.barIn.Name = "barIn";
            this.barIn.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barIn_ItemClick);
            // 
            // barButtonItem3
            // 
            this.barButtonItem3.Caption = "Hủy";
            this.barButtonItem3.Id = 2;
            this.barButtonItem3.ImageIndex = 4;
            this.barButtonItem3.Name = "barButtonItem3";
            this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick);
            // 
            // barEditItem1
            // 
            this.barEditItem1.Caption = "barEditItem1";
            this.barEditItem1.Edit = this.radStatus;
            this.barEditItem1.EditValue = "allin";
            this.barEditItem1.Id = 4;
            this.barEditItem1.Name = "barEditItem1";
            this.barEditItem1.Width = 550;
            // 
            // radStatus
            // 
            this.radStatus.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
            new DevExpress.XtraEditors.Controls.RadioGroupItem("allin", "In Vinic"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem("onboard", "On Board"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem("onvacation", "On Vacation"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem("newcrew", "New Crew"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem("leftall", "Left Vinic"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem("onretire", "Retired"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem("onresign", "Resigned")});
            this.radStatus.Name = "radStatus";
            this.radStatus.EditValueChanged += new System.EventHandler(this.radStatus_EditValueChanged);
            // 
            // barDockControlTop
            // 
            this.barDockControlTop.CausesValidation = false;
            this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
            this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
            this.barDockControlTop.Size = new System.Drawing.Size(1062, 31);
            // 
            // barDockControlBottom
            // 
            this.barDockControlBottom.CausesValidation = false;
            this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.barDockControlBottom.Location = new System.Drawing.Point(0, 400);
            this.barDockControlBottom.Size = new System.Drawing.Size(1062, 0);
            // 
            // barDockControlLeft
            // 
            this.barDockControlLeft.CausesValidation = false;
            this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
            this.barDockControlLeft.Location = new System.Drawing.Point(0, 31);
            this.barDockControlLeft.Size = new System.Drawing.Size(0, 369);
            // 
            // barDockControlRight
            // 
            this.barDockControlRight.CausesValidation = false;
            this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
            this.barDockControlRight.Location = new System.Drawing.Point(1062, 31);
            this.barDockControlRight.Size = new System.Drawing.Size(0, 369);
            // 
            // barButtonItem1
            // 
            this.barButtonItem1.Caption = "Thêm mới";
            this.barButtonItem1.Id = 0;
            this.barButtonItem1.ImageIndex = 1;
            this.barButtonItem1.Name = "barButtonItem1";
            // 
            // layoutControl1
            // 
            this.layoutControl1.Controls.Add(this.gridContract);
            this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.layoutControl1.Location = new System.Drawing.Point(0, 31);
            this.layoutControl1.Name = "layoutControl1";
            this.layoutControl1.Root = this.layoutControlGroup1;
            this.layoutControl1.Size = new System.Drawing.Size(1062, 369);
            this.layoutControl1.TabIndex = 4;
            this.layoutControl1.Text = "layoutControl1";
            // 
            // gridContract
            // 
            this.gridContract.DataSource = this.tblContractBindingSource;
            this.gridContract.Location = new System.Drawing.Point(12, 12);
            this.gridContract.MainView = this.viewContract;
            this.gridContract.MenuManager = this.barManager1;
            this.gridContract.Name = "gridContract";
            this.gridContract.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.lookupHo,
            this.lookupDem,
            this.lookupTen,
            this.lookupVessel,
            this.lookupEmployer});
            this.gridContract.Size = new System.Drawing.Size(1038, 345);
            this.gridContract.TabIndex = 4;
            this.gridContract.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.viewContract});
            // 
            // tblContractBindingSource
            // 
            this.tblContractBindingSource.DataMember = "tblcontractList";
            this.tblContractBindingSource.DataSource = this.dsContract;
            // 
            // dsContract
            // 
            this.dsContract.DataSetName = "dsContract";
            this.dsContract.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // viewContract
            // 
            this.viewContract.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colnContractId,
            this.colnCrewId,
            this.colnEmployerId,
            this.colnVesselId,
            this.colfPeriodOfEmployement,
            this.coldContractDate,
            this.colHo,
            this.colTenDem,
            this.colTen,
            this.left,
            this.status,
            this.rankcol});
            styleFormatCondition1.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            styleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.Blue;
            styleFormatCondition1.Appearance.Options.UseBackColor = true;
            styleFormatCondition1.Appearance.Options.UseForeColor = true;
            styleFormatCondition1.ApplyToRow = true;
            styleFormatCondition1.Column = this.status;
            styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Expression;
            styleFormatCondition1.Expression = "[cStatus]==\'On Board\' And [gridColumn1] >0";
            styleFormatCondition2.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            styleFormatCondition2.Appearance.ForeColor = System.Drawing.Color.Red;
            styleFormatCondition2.Appearance.Options.UseBackColor = true;
            styleFormatCondition2.Appearance.Options.UseForeColor = true;
            styleFormatCondition2.ApplyToRow = true;
            styleFormatCondition2.Column = this.status;
            styleFormatCondition2.Condition = DevExpress.XtraGrid.FormatConditionEnum.Expression;
            styleFormatCondition2.Expression = "[cStatus]==\'On Board\' And [gridColumn1] <=0";
            styleFormatCondition3.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128)))));
            styleFormatCondition3.Appearance.ForeColor = System.Drawing.Color.Black;
            styleFormatCondition3.Appearance.Options.UseBackColor = true;
            styleFormatCondition3.Appearance.Options.UseForeColor = true;
            styleFormatCondition3.ApplyToRow = true;
            styleFormatCondition3.Column = this.status;
            styleFormatCondition3.Condition = DevExpress.XtraGrid.FormatConditionEnum.Expression;
            styleFormatCondition3.Expression = "[cStatus] != \'On Board\'";
            this.viewContract.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
            styleFormatCondition1,
            styleFormatCondition2,
            styleFormatCondition3});
            this.viewContract.GridControl = this.gridContract;
            this.viewContract.Name = "viewContract";
            this.viewContract.OptionsView.ShowAutoFilterRow = true;
            this.viewContract.CustomDrawCell += new DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventHandler(this.viewContract_CustomDrawCell);
            // 
            // colnContractId
            // 
            this.colnContractId.Caption = "Mã hợp đồng";
            this.colnContractId.FieldName = "nContractId";
            this.colnContractId.Name = "colnContractId";
            this.colnContractId.OptionsColumn.AllowEdit = false;
            this.colnContractId.OptionsColumn.ReadOnly = true;
            this.colnContractId.Width = 91;
            // 
            // colnCrewId
            // 
            this.colnCrewId.AppearanceHeader.Options.UseTextOptions = true;
            this.colnCrewId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
            this.colnCrewId.Caption = "#";
            this.colnCrewId.FieldName = "nCrewId";
            this.colnCrewId.Name = "colnCrewId";
            this.colnCrewId.OptionsColumn.AllowEdit = false;
            this.colnCrewId.Visible = true;
            this.colnCrewId.VisibleIndex = 0;
            this.colnCrewId.Width = 51;
            // 
            // colnEmployerId
            // 
            this.colnEmployerId.Caption = "Công ty quản lý";
            this.colnEmployerId.ColumnEdit = this.lookupEmployer;
            this.colnEmployerId.FieldName = "nEmployerId";
            this.colnEmployerId.Name = "colnEmployerId";
            this.colnEmployerId.OptionsColumn.AllowEdit = false;
            this.colnEmployerId.Visible = true;
            this.colnEmployerId.VisibleIndex = 5;
            this.colnEmployerId.Width = 238;
            // 
            // lookupEmployer
            // 
            this.lookupEmployer.AutoHeight = false;
            this.lookupEmployer.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookupEmployer.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("cEmployerName", "Công ty quản lý", 92, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
            this.lookupEmployer.DataSource = this.tblEmployerBindingSource;
            this.lookupEmployer.DisplayMember = "cEmployerName";
            this.lookupEmployer.Name = "lookupEmployer";
            this.lookupEmployer.ValueMember = "nEmployerId";
            // 
            // tblEmployerBindingSource
            // 
            this.tblEmployerBindingSource.DataMember = "tblEmployer";
            this.tblEmployerBindingSource.DataSource = this.dsContract;
            // 
            // colnVesselId
            // 
            this.colnVesselId.Caption = "Tên tàu";
            this.colnVesselId.ColumnEdit = this.lookupVessel;
            this.colnVesselId.FieldName = "nVesselId";
            this.colnVesselId.Name = "colnVesselId";
            this.colnVesselId.OptionsColumn.AllowEdit = false;
            this.colnVesselId.Visible = true;
            this.colnVesselId.VisibleIndex = 6;
            this.colnVesselId.Width = 242;
            // 
            // lookupVessel
            // 
            this.lookupVessel.AutoHeight = false;
            this.lookupVessel.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookupVessel.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("nVesselId", "n Vessel Id", 75, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("nEngineType", "n Engine Type", 78, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("nEngineMaker", "n Engine Maker", 83, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("fHorsePower", "f Horse Power", 78, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("cVesselName", "Tên tàu", 78, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("cShortName", "c Short Name", 74, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("cVesselManaged", "c Vessel Managed", 95, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("nGroupId", "n Group Id", 61, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("nFlagId", "n Flag Id", 52, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("nVesselTypeId", "n Vessel Type Id", 89, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("fGRT", "f GRT", 37, DevExpress.Utils.FormatType.Numeric, "", false, DevExpress.Utils.HorzAlignment.Far),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("cTradeArea", "c Trade Area", 72, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("cImoNumber", "c Imo Number", 76, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("cPortOfRegistry", "c Port Of Registry", 96, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("dYearBuilt", "d Year Built", 64, DevExpress.Utils.FormatType.DateTime, "M/d/yyyy", false, DevExpress.Utils.HorzAlignment.Near)});
            this.lookupVessel.DataSource = this.tblVesselBindingSource;
            this.lookupVessel.DisplayMember = "cVesselName";
            this.lookupVessel.Name = "lookupVessel";
            this.lookupVessel.ValueMember = "nVesselId";
            // 
            // tblVesselBindingSource
            // 
            this.tblVesselBindingSource.DataMember = "tblVessel";
            this.tblVesselBindingSource.DataSource = this.dsVessel;
            // 
            // dsVessel
            // 
            this.dsVessel.DataSetName = "dsVessel";
            this.dsVessel.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // colfPeriodOfEmployement
            // 
            this.colfPeriodOfEmployement.Caption = "Thời hạn hợp đồng";
            this.colfPeriodOfEmployement.DisplayFormat.FormatString = "{0} tháng";
            this.colfPeriodOfEmployement.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.colfPeriodOfEmployement.FieldName = "PeriodOfEmployment";
            this.colfPeriodOfEmployement.Name = "colfPeriodOfEmployement";
            this.colfPeriodOfEmployement.OptionsColumn.AllowEdit = false;
            this.colfPeriodOfEmployement.Visible = true;
            this.colfPeriodOfEmployement.VisibleIndex = 7;
            this.colfPeriodOfEmployement.Width = 110;
            // 
            // coldContractDate
            // 
            this.coldContractDate.Caption = "Ngày ký hợp đồng";
            this.coldContractDate.DisplayFormat.FormatString = "dd-MMM-yyyy";
            this.coldContractDate.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
            this.coldContractDate.FieldName = "dContractDate";
            this.coldContractDate.Name = "coldContractDate";
            this.coldContractDate.OptionsColumn.AllowEdit = false;
            this.coldContractDate.Visible = true;
            this.coldContractDate.VisibleIndex = 8;
            this.coldContractDate.Width = 119;
            // 
            // colHo
            // 
            this.colHo.Caption = "Họ";
            this.colHo.ColumnEdit = this.lookupHo;
            this.colHo.FieldName = "nCrewId";
            this.colHo.Name = "colHo";
            this.colHo.OptionsColumn.AllowEdit = false;
            this.colHo.Visible = true;
            this.colHo.VisibleIndex = 2;
            this.colHo.Width = 62;
            // 
            // lookupHo
            // 
            this.lookupHo.AutoHeight = false;
            this.lookupHo.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookupHo.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("cFamilyName", "Họ", 78, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
            this.lookupHo.DataSource = this.tblCrewBindingSource;
            this.lookupHo.DisplayMember = "cFamilyName";
            this.lookupHo.Name = "lookupHo";
            this.lookupHo.ValueMember = "nCrewId";
            // 
            // tblCrewBindingSource
            // 
            this.tblCrewBindingSource.DataMember = "tblCrew";
            this.tblCrewBindingSource.DataSource = this.dsCrew;
            // 
            // dsCrew
            // 
            this.dsCrew.DataSetName = "dsCrew";
            this.dsCrew.EnforceConstraints = false;
            this.dsCrew.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // colTenDem
            // 
            this.colTenDem.Caption = "Tên đệm";
            this.colTenDem.ColumnEdit = this.lookupDem;
            this.colTenDem.FieldName = "nCrewId";
            this.colTenDem.Name = "colTenDem";
            this.colTenDem.OptionsColumn.AllowEdit = false;
            this.colTenDem.Visible = true;
            this.colTenDem.VisibleIndex = 3;
            this.colTenDem.Width = 62;
            // 
            // lookupDem
            // 
            this.lookupDem.AutoHeight = false;
            this.lookupDem.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookupDem.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("cMiddleName", "Tên đệm", 78, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
            this.lookupDem.DataSource = this.tblCrewBindingSource;
            this.lookupDem.DisplayMember = "cMiddleName";
            this.lookupDem.Name = "lookupDem";
            this.lookupDem.ValueMember = "nCrewId";
            // 
            // colTen
            // 
            this.colTen.Caption = "Tên";
            this.colTen.ColumnEdit = this.lookupTen;
            this.colTen.FieldName = "nCrewId";
            this.colTen.Name = "colTen";
            this.colTen.OptionsColumn.AllowEdit = false;
            this.colTen.Visible = true;
            this.colTen.VisibleIndex = 4;
            this.colTen.Width = 76;
            // 
            // lookupTen
            // 
            this.lookupTen.AutoHeight = false;
            this.lookupTen.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.lookupTen.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
            new DevExpress.XtraEditors.Controls.LookUpColumnInfo("cFirstName", "Tên", 69, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
            this.lookupTen.DataSource = this.tblCrewBindingSource;
            this.lookupTen.DisplayMember = "cFirstName";
            this.lookupTen.Name = "lookupTen";
            this.lookupTen.ValueMember = "nCrewId";
            // 
            // rankcol
            // 
            this.rankcol.Caption = "Chức danh";
            this.rankcol.FieldName = "cRankName";
            this.rankcol.Name = "rankcol";
            this.rankcol.Visible = true;
            this.rankcol.VisibleIndex = 1;
            this.rankcol.Width = 64;
            // 
            // layoutControlGroup1
            // 
            this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
            this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
            this.layoutControlGroup1.GroupBordersVisible = false;
            this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
            this.layoutControlItem1});
            this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
            this.layoutControlGroup1.Name = "layoutControlGroup1";
            this.layoutControlGroup1.Size = new System.Drawing.Size(1062, 369);
            this.layoutControlGroup1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup1.Text = "layoutControlGroup1";
            this.layoutControlGroup1.TextVisible = false;
            // 
            // layoutControlItem1
            // 
            this.layoutControlItem1.Control = this.gridContract;
            this.layoutControlItem1.CustomizationFormText = "layoutControlItem1";
            this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
            this.layoutControlItem1.Name = "layoutControlItem1";
            this.layoutControlItem1.Size = new System.Drawing.Size(1042, 349);
            this.layoutControlItem1.Text = "layoutControlItem1";
            this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem1.TextToControlDistance = 0;
            this.layoutControlItem1.TextVisible = false;
            // 
            // tblCrewTableAdapter
            // 
            this.tblCrewTableAdapter.ClearBeforeFill = true;
            // 
            // tblVesselTableAdapter
            // 
            this.tblVesselTableAdapter.ClearBeforeFill = true;
            // 
            // colDem
            // 
            this.colDem.Caption = "gridColumn1";
            this.colDem.FieldName = "nCrewId";
            this.colDem.Name = "colDem";
            // 
            // tblContractTableAdapter1
            // 
            this.tblContractTableAdapter1.ClearBeforeFill = true;
            // 
            // tblEmployerTableAdapter
            // 
            this.tblEmployerTableAdapter.ClearBeforeFill = true;
            // 
            // tadContractlist
            // 
            this.tadContractlist.ClearBeforeFill = true;
            // 
            // frmContractList
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1062, 400);
            this.Controls.Add(this.layoutControl1);
            this.Controls.Add(this.barDockControlLeft);
            this.Controls.Add(this.barDockControlRight);
            this.Controls.Add(this.barDockControlBottom);
            this.Controls.Add(this.barDockControlTop);
            this.Name = "frmContractList";
            this.Text = "Hợp đồng thuyền viên";
            this.Load += new System.EventHandler(this.frmContractList_Load);
            ((System.ComponentModel.ISupportInitialize)(this.toolbar_image)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radStatus)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
            this.layoutControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridContract)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblContractBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsContract)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.viewContract)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupEmployer)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblEmployerBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupVessel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblVesselBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsVessel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupHo)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblCrewBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dsCrew)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupDem)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lookupTen)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion

        private DevExpress.Utils.ImageCollection toolbar_image;
        private DevExpress.XtraBars.BarManager barManager1;
        private DevExpress.XtraBars.Bar bar1;
        private DevExpress.XtraBars.BarButtonItem barButtonItem1;
        private DevExpress.XtraBars.BarButtonItem barButtonItem2;
        private DevExpress.XtraBars.BarButtonItem barButtonItem3;
        private DevExpress.XtraBars.BarDockControl barDockControlTop;
        private DevExpress.XtraBars.BarDockControl barDockControlBottom;
        private DevExpress.XtraBars.BarDockControl barDockControlLeft;
        private DevExpress.XtraBars.BarDockControl barDockControlRight;
        private DevExpress.XtraLayout.LayoutControl layoutControl1;
        private DevExpress.XtraGrid.GridControl gridContract;
        private DevExpress.XtraGrid.Views.Grid.GridView viewContract;
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
        private Database.dsCrew dsCrew;
        private System.Windows.Forms.BindingSource tblContractBindingSource;
        private DevExpress.XtraGrid.Columns.GridColumn colnContractId;
        private DevExpress.XtraGrid.Columns.GridColumn colnCrewId;
        private DevExpress.XtraGrid.Columns.GridColumn colnEmployerId;
        private DevExpress.XtraGrid.Columns.GridColumn colnVesselId;
        private DevExpress.XtraGrid.Columns.GridColumn colfPeriodOfEmployement;
        private DevExpress.XtraGrid.Columns.GridColumn coldContractDate;
        private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit lookupHo;
        private System.Windows.Forms.BindingSource tblCrewBindingSource;
        private Database.dsCrewTableAdapters.tblCrewTableAdapter tblCrewTableAdapter;
        private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit lookupDem;
        private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit lookupTen;
        private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit lookupVessel;
        private Database.dsVessel dsVessel;
        private System.Windows.Forms.BindingSource tblVesselBindingSource;
        private Database.dsVesselTableAdapters.tblVesselTableAdapter tblVesselTableAdapter;
        private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit lookupEmployer;
        private DevExpress.XtraGrid.Columns.GridColumn colHo;
        private DevExpress.XtraGrid.Columns.GridColumn colTenDem;
        private DevExpress.XtraGrid.Columns.GridColumn colTen;
        private DevExpress.XtraGrid.Columns.GridColumn colDem;
        private Database.dsContract dsContract;
        private Database.dsContractTableAdapters.tblContractTableAdapter tblContractTableAdapter1;
        private System.Windows.Forms.BindingSource tblEmployerBindingSource;
        private Database.dsContractTableAdapters.tblEmployerTableAdapter tblEmployerTableAdapter;
        private DevExpress.XtraBars.BarButtonItem barIn;
        private DevExpress.XtraGrid.Columns.GridColumn left;
        private Database.dsContractTableAdapters.tadContractlist tadContractlist;
        private DevExpress.XtraGrid.Columns.GridColumn status;
        private DevExpress.XtraGrid.Columns.GridColumn rankcol;
        private DevExpress.XtraBars.BarEditItem barEditItem1;
        private DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup radStatus;
        private DevExpress.XtraBars.BarButtonItem barButtonItem4;
    }
}